package entity.sparemanage.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import entity.sparemanage.vo.detialParts;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class insertPartsDto {
    //采购日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date procureTime;
    //采购人员
    private Integer procurePersonid;
    //供应商
    private Integer procureSupplierid;
    //联系方式
    private String procureContacts;
    //采购主题
    private String procureTheme;
    //采购部门
    private Integer procureDepartid;
    //联系方式
    private String procureContact;
    //联系人
    private String procureContactPerson;
    //采购原因
    private String procureReason;
    //备注
    private String procureRemark;
    //采购明细
    private List<detialParts> ledgerData;
    //申请人ID
    private Integer procureApplicantid;
}
